<!DOCTYPE html>
<html>

	<head>
		<title>我的收藏</title>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
		<link rel="stylesheet" href="/js/bootstrap/css/bootstrap.min.css">
		<script src="/js/jquery/jquery.min.js"></script>
		<script src="/js/bootstrap/js/bootstrap.min.js"></script>
		<link rel="stylesheet" href="/css/font/css/font-awesome.min.css" />
		<link rel="stylesheet" href="/css/reset.css" />
		<link rel="stylesheet" href="/css/message.css" />
		<script src="/js/plugins/jrender/jrender.js"></script>
	</head>
	<script type="text/javascript">
		$(function () {
            var user = JSON.parse(sessionStorage.getItem("user"));
			$("#news").attr("href",href = "/newsPage.html?userId=" + user.id);
        })
	</script>
	<body>
		<div class="search-head">
			<div class="row nav-search">
				<div class="col">
					<a href="javascript:history.go(-1);">
						<span><i class="fa fa-chevron-left" ></i></span>
					</a>
				</div>
				<div class="col">
					<span>我的收藏</span>
				</div>
				<div class="col"></div>
			</div>
		</div>

		<ul class="list-group">
			<a href="/mine/collectStrategys.html">
				<li class="list-group-item d-flex justify-content-between align-items-center">
					<div class="item">
						<i class="fa fa-window-maximize" aria-hidden="true"></i>
						<span>攻略收藏</span><span style="margin-right:20px;color:blue"></span>
						<span class="badge badge-danger badge-pill"></span>
					</div>
					<i class="fa fa-chevron-right"></i>
				</li>
			</a>
			<a href="/mine/collectTravels.html">
				<li class="list-group-item d-flex justify-content-between align-items-center">
					<div class="item">
						<i class="fa fa-tasks" aria-hidden="true"></i>
						<span>游记收藏</span><span style="margin-right:20px;color:blue"></span>
						<span class="badge badge-danger badge-pill"></span>
					</div>
					<i class="fa fa-chevron-right"></i>
				</li>
			</a>
			<a href="/newsPage.html" id="news">
				<li class="list-group-item d-flex justify-content-between align-items-center">
					<div class="item">
						<i class="fa fa-newspaper-o" aria-hidden="true"></i>
						<span>资讯收藏</span><span style="margin-right:20px;color:blue"></span>
						<span class="badge badge-danger badge-pill" ></span>
					</div>
					<i class="fa fa-chevron-right"></i>
				</li>
			</a>
			<a href="#####">
				<li class="list-group-item d-flex justify-content-between align-items-center">
					<div class="item">
						<i class="fa fa-file-text" aria-hidden="true"></i>
						<span>其他收藏</span><span style="margin-right:20px;color:blue"></span>
						<span class="badge badge-danger badge-pill" ></span>
					</div>
					<i class="fa fa-chevron-right"></i>
				</li>
			</a>
		</ul>
		
		<div class="container systemMsg">
			<dl class="itemList">
				<dd>
					<p>如果你无法简洁的表达你的想法，那只说明你还不够了解它。</p>
					<p>-- 阿尔伯特·爱因斯坦</p>
					<p>32分钟前</p>
				</dd>
				<dd>
					<p>各位小伙伴，荆轲刺秦王</p>
					<p>-- 逍遥</p>
					<p>10天前</p>
				</dd>
				<dd>
					<p>一切有为法，如梦幻泡影，如露亦如电，应作如是观。</p>
					<p>-- 《金刚金》</p>
					<p>2000年前</p>
				</dd>
			</dl>
		</div>

		<script>
		  $(function () {
		      $.get("/users/messages",function (data) {
                  $(".list-group").renderValues(data)
              })
          })


		</script>
	</body>
</html>